package sctu.edu.java.year2016.team03.maoyuhao.day20160531.chapter9_1;
import java.util.Scanner;
/**
 * Created by cc on 2016/5/31.
 */
public class Work {
    int j=9;
    void sum() {

    }


    public class Inner {

        private int sum=0;

        public void sum(){
            for(int i=0;i<j;i++){
                sum+=i;
            }
        }
    }

    public static void main(String[] args) {
        Work work=new Work();
        Inner sum=work.new Inner();
        sum.sum();
        System.out.println(sum.sum);

    }
}